POV-Ray : Newsgroups : povray.unofficial.patches : Direct Ray Tracing of Displacement Mapped Triangles : Re: Direct Ray Tracing of Displacement Mapped Triangles Server Time
5 Jul 2024 10:57:30 EDT (-0400)
  Re: Direct Ray Tracing of Displacement Mapped Triangles  
From: Christoph Hormann
Date: 29 Apr 2003 17:26:32
Message: <3EAEEE06.FB1E5431@gmx.de>
Christopher James Huff wrote:
> 
> > Well, you need a function to select whether the low or the high resolution
> > map is used at a certain position.  To avoid problems with the root finder
> > you will need to  create a smooth transit between the regions.
> 
> One idea I've had for this is some kind of prioritized object list.
> Basically, it would be an ordered list of objects which POV would go
> through until it found an intersection or ran out of objects. In this
> case, higher resolution landscape models would be higher priority, while
> larger area, lower detail models would have lower priority. Close to the
> camera, the high res one would be hit, and the others ignored. Further
> from the camera, the high res one would be missed, but a lower res
> version would be there.
> There might be some unexpected shadows at the transition point, but they
> should be minimal.

I doubt the speed advantage would be significant.  In the whole low
resolution area you would have to test against both objects.  You could
try to make the container of the high resolution part as small as
possible.  Still it would take additional time.  Any you will have to take
additional care with the shadow rays.  The selection function is rather
fast on the other hand.    

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.